package com.glory.cqaospda.viewmodel

import androidx.databinding.ObservableArrayList
import com.glory.cqaospda.R
import com.glory.cqaospda.bean.QTimeBean
import com.glory.cqaospda.model.TaskRepository
import com.glory.mvvmnet.base.BaseViewModel
import com.glory.mvvmnet.entity.CallObserveBean
import com.google.gson.JsonObject
import com.pda.platform.ui.ui_pdaplatform.utils_public.FreeApi_LogUtils
import me.tatarka.bindingcollectionadapter2.BR
import me.tatarka.bindingcollectionadapter2.ItemBinding

class QTimeModel : BaseViewModel(){

    private val repository by lazy { TaskRepository() }

    fun defaultRepairList(map:JsonObject) {

        launchOnlyResult({
            repository.defaultGetQTIMEData(map,"EMS_QTIME","EMS_GetEqpStatus")
            defUI.callObserve.value = CallObserveBean(0)
        })
    }

}